Skip to content

refactor(dialogue): add DialogueTriggerRegistry & trace summarizer, fix queue/liveness, and clean legacy parser - #26

Merged
mcocdaa merged 1 commit into
mainfrom
refactor/phase2-cleanup
Nov 23, 2026
Merged

mcocdaa merged 1 commit into
mainfrom
refactor/phase2-cleanup

Conversation

@mcocdaa

@mcocdaa mcocdaa commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Phase 2 full-codebase cleanup & Water-Dispenser refactor verified locally across 1.6 & 1.7 builds and full test suite.

…ix queue/liveness, and clean legacy parser

refactor: consolidate dialogue metadata into registries and harden lifecycle

Extract DialogueTriggerRegistry as the single source of truth for trigger
kind, label, prompt format, and log color, and add
DialogueRequestTraceSummarizer so Core's trace UI no longer hardcodes
Dialogue tool names or translation keys.

Harden the request lifecycle: coalesce automatic triggers with a queue
wait TTL, require alive colonists, use an interlocked completion guard,
and gate context providers on active spawned colonists. Replace ad-hoc
cooldown and daily-count collections with KeyedCooldownGate and integer
counters, and drop the redundant pawn cache.

Replace direct Translate calls with RimMindAPI.Text.TrOr fallbacks across
patches, UI, settings, and comps; cache the chat gizmo icon; persist
overlay position on drag; and scale the log category bar to fit.

Remove the dead ResponseJsonParser and its tests, drop the V1_5 float
menu branch, and align thought-tag classification with registered tags.
Update deploy scripts for dual-version builds and clean runtime
exclusions, and refresh docs, About, and localization keys.
@mcocdaa
mcocdaa merged commit 24f42b4 into main Nov 23, 2026
@mcocdaa
mcocdaa deleted the refactor/phase2-cleanup branch November 23, 2026 06:09
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant